package cn.wolfcode.mapper;

import cn.wolfcode.domain.EmployeeRole;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface EmployeeRoleMapper {

    int insert(EmployeeRole record);

    List<EmployeeRole> selectAll();

    void deleteByEmployeeId(Long id);

    void batchDeleteByEmployeeIds(@Param("ids")Long[] ids);
}